﻿using System.Web.Mvc;
using Kaiser.MvcBase.ControllerBase;
using Kaiser.Utilities.Captcha;


namespace Kaiser.ManageClient.Areas.Portal.Controllers
{
    public class AdapterController : PortalBaseController
    {
        public ActionResult Captcha()
        {
            var image = new CaptchaImage();
            Session[CaptchaUtil.DefaultKey] = image.CaptchaValue;
            var r = new ImageResult(image.CaptchaBitmap);
            return r;
        }
    }
}
